package com.example.demo.domain;

import com.example.demo.dao.QueryDao;
import com.example.demo.util.JsonUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

public class Condition {

    @Autowired
    private QueryDao queryDao;

    private String desc;

    private String modelName;

    private String type;

    private String defaultValue;

    private String label;

    private String sql;

    private String sqlDate;

    private String title;

    private List<CombItem> init;

    private List<CombDate> initDate;

    private String jurisdiction;

    private String showAll;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getSqlDate() {
        return sqlDate;
    }

    public void setSqlDate(String sqlDate) {
        this.sqlDate = sqlDate;
    }

    public List<CombItem> getInit() {
        return init;
    }

    public void setInit(List<CombItem> init) {
            this.init = init;
    }

    public List<CombDate> getInitDate() {
        return initDate;
    }

    public void setInitDate(List<CombDate> initDate) {
        this.initDate = initDate;
    }

    public String getJurisdiction() {
        return jurisdiction;
    }

    public void setJurisdiction(String jurisdiction) {
        this.jurisdiction = jurisdiction;
    }

    public String getShowAll() {
        return showAll;
    }

    public void setShowAll(String showAll) {
        this.showAll = showAll;
    }

}
